package com.zatech.cgnci.project.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zatech.cgnci.project.dto.RateQueryDTO;
import com.zatech.cgnci.project.entity.CgnciRateDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zatech.cgnci.project.vo.RateVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 汇率信息表 Mapper 接口
 * </p>
 *
 * @author Generator
 * @since 2025-01-13
 */
@Mapper
public interface CgnciRateMapper extends BaseMapper<CgnciRateDO> {
    /**
     * 分页查询
     */
    IPage<RateVO> pageRate(@Param("page") Page page, @Param("queryDTO") RateQueryDTO queryDTO);

    /**
     * 删除
     */
    void deleteByRateId(@Param("rateId") Long rateId);
}
